package com.group6.exam.teacher.service;

import java.util.List;
import java.util.Map;

import com.group6.exam.common.entity.PageModel;
import com.group6.exam.common.entity.UserInfoEntity;
import com.group6.exam.student.entity.StudentEntity;

public interface ITeacherService {

	public boolean login(UserInfoEntity user);

	// 查询登录者的主菜单
	public List<Map<String, Object>> getMainMenus(String username);

	// 查询登录者的子菜单
	public List<Map<String, Object>> getChildMenus(String username);

	// 学生信息分页方法
	public PageModel getStudentPageByPageModel(PageModel pageModel, String gradeName);

	// 删除学生信息
	public int delete(int studentId);

	// 新增学生信息
	public int addStudent(StudentEntity student);

	// 查询学生班级
	public List<Map<String, Object>> selectGrade();

	// 通过Id查询学生信息
	public Map<String, Object> selectStudentById(int studentId);

	// 修改学生信息
	public int update(StudentEntity student);
}
